package com.lannuokeji.biz.items.service.impl;

import com.lannuokeji.biz.items.entity.Device;
import com.lannuokeji.biz.items.mapper.DeviceMapper;
import com.lannuokeji.biz.items.service.DeviceService;
import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 设备信息表 服务实现类
 * </p>
 *
 * @author lannuoTeck
 * @since 2018-03-19
 */
@Service
public class DeviceServiceImpl extends ServiceImpl<DeviceMapper, Device> implements DeviceService {

	@Override
	public Page<Device> page(Page<Device> page, Device entity) {
		return page.setRecords(baseMapper.page(page, entity));
	}

	
}
